﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace MazeWars
{
    public abstract class Window
    {
        protected bool active;
        protected KeyboardState prevState;

        public const int TITLE_WINDOW = 0;
        public const int BATTLE_WINDOW = 1;
        public const int CREATION_WINDOW = 2;
        public const int GAMEOVER_WINDOW = 3;
        public const int TUTORIAL_WINDOW = 4;

        public Window() { }

        public bool Active
        {
            set
            {
                active = value;
            }
            get
            {
                return active;
            }
        }
        public virtual void setupWindow(ContentManager cm, Viewport vp) { }
        public virtual void draw(SpriteBatch sb, GraphicsDevice gd) { }
        public virtual void update(KeyboardState ks, GameTime gameTime) { }
        public virtual void loadWindow() { }
    }
}
